import React from "react"
import { Meta, StoryObj } from "@storybook/react"

import QuestionRadio from "../../components/QuestionComponents/QuestionRadio/QuestionRadio"

const meta: Meta<typeof QuestionRadio> = {
    title: "Question/QuestionRadio",
    component: QuestionRadio
}
export default meta

type Story = StoryObj<typeof QuestionRadio>

export const Default: Story = {}

export const SetProps: Story = {
    args: {
        title: "hello",
        options: [
            { value: "v1", text: "t1" },
            { value: "v2", text: "t2" },
            { value: "v3", text: "t3" }
        ],
        value: "v1",
        isVertical: true
    }
}
